<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>设备类型</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
<script type="text/javascript">

</script>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="zyEquipmentTypeController.do?doAdd" tiptype="3">
	<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
		<c:if test="${!empty zyEquipmentTypePage }">
		<tr>
			<td align="right">
				<label class="Validform_label">
					父级机型:
				</label>
			</td>
			<td class="value">
				<input name="equipmentType.id" type="hidden" value="${zyEquipmentTypePage.id }" />
		     	<input type="text" style="width: 150px" readonly="readonly"
		     	class="inputxt" value="${zyEquipmentTypePage.typeDesc }"/>
			</td>
		</tr>
		</c:if>
		<tr>
			<td align="right">
				<label class="Validform_label">
					机型:
				</label>
			</td>
			<td class="value">
		     	<input id="typeDesc" name="typeDesc" type="text" style="width: 150px" class="inputxt" datatype="*" ajaxurl="zyEquipmentTypeController.do?checkTypeDescUnique&parentId=${zyEquipmentTypePage.id}"/>
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">机型</label>
			</td>
		</tr>
        <tr>
            <td align="right">
                <label class="Validform_label">
                    Logo:
                </label>
            </td>
            <td class="value">
                <input id="logo" name="logo" type="text" style="width: 150px" class="inputxt"/>

            </td>
        </tr>
	</table>
</t:formvalid>
</body>
<script src = "webpage/com/zybk/zy_equipment_type/zyEquipmentType.js"></script>		